{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>
<body>
  <nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    系统管理
    <span class="c-gray en">&gt;</span>
    红包管理
    <span class="c-gray en">&gt;</span>
    修改红包等级
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
  </nav>
  <article class="page-container">
  <form action="{:url('Operate/bonuschanceEdit')}?id={$find.id}" enctype="multipart/form-data" method="post" class="form form-horizontal" id="form-article-add">
    <div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>分类栏目：</label>
			<div class="formControls col-xs-8 col-sm-9" style="width:235px;"> <span class="select-box">
				<select name="lv" class="select">
				{volist name="bonus_lv" id="vo"}
					<option value="{$vo.lv}" {if($find.lv == $vo.lv)}selected{/if}>{$vo.lv}级分类</option>
					{/volist}
				</select>
				</span> 
			</div>
		</div>
		<div class="row cl">
      <label class="form-label col-xs-4 col-sm-2">概率：</label>
      <div class="formControls col-xs-8 col-sm-9">
        <input id="min_saving" type="text" style="width:205px;" name="chance" value="{$find.chance}" class="input-text"  onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
      </div>
    </div>
    <div class="row cl">
      <label class="form-label col-xs-4 col-sm-2">中奖最小金额：</label>
      <div class="formControls col-xs-8 col-sm-9">
        <input id="min_saving" type="text" style="width:205px;" name="min_money" value="{$find.min_money}" class="input-text"  onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
      </div>
    </div>
    
    <div class="row cl">
      <label class="form-label col-xs-4 col-sm-2">中奖最大金额：</label>
      <div class="formControls col-xs-8 col-sm-9">
        <input id="max_saving" type="text" style="width:205px;" name="max_money" value="{$find.max_money}" class="input-text"  onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')">
      </div>
    </div>
    
    <div class="am-margin" style="margin-top:60px;">
  		<input type="submit" style="margin-left:170px;" class="btn btn-danger radius"  value="提交保存" />
  		<input type="button" onclick="javascript:history.go(-1);" style="margin-left:30px;" class="btn btn-primary radius"  value="关闭" />
  </div>
        
  </form>
  </article>
  <div>
    
  </div>
{/block} 
